package com.shop.cereshop.commons.domain.city;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = " CereCityDetail", description = "城市经纬面实体类")
public class CereCityDetail {

    /**
     * 城市id
     */
    @ApiModelProperty(value = "城市id")
    @TableId(type = IdType.AUTO)
    private Long id;


    /**
     * 地区区域编码
     */
    @ApiModelProperty(value = "地区区域编码")
    @TableId(type = IdType.AUTO)
    private Long adcode;

    /**
     * 父级区域编码
     */
    @ApiModelProperty(value = "父级区域编码")
    private Long pId;


    /**
     * 城市名称
     */
    @ApiModelProperty(value = "城市名称")
    private String name;


    /**
     * 城市级别
     */
    @ApiModelProperty(value = "级别")
    private Integer level;


    /**
     * 省分名称
     */
    @ApiModelProperty(value = "省份名称")
    private String  provinceName;

}
